#!/bin/sh
. /etc/rc.common

echo "                                                                  "
echo "Please type the password of \"root\" to Uninstall ..."
FROM=`dirname "$0"`

echo "Uninstalling Script and Utility ..."
sudo killall -c StatusBarApp
sleep 2 
sudo killall -c StatusBarApp
sleep 2
echo "Uninstalling UI..."
sudo rm -rf /Library/LaunchAgents/WlanStatusBar.Software
sudo rm -rf /System/Library/CoreServices/StatusBarApp.app
cd 
sudo rm -rf Library/Application\ Support/USBWifiController/

echo "Removing Driver..."
sudo kextunload /System/Library/Extensions/RTL8192EU6.kext
sudo rm -rf /System/Library/Extensions/RTL8192EU6.kext

echo "Removing Pkg"

echo "Uninstall Complete."
